package com.moive.news.tqnewsapplication.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/12/8.
 */

public class NewsInfo {


    /**
     * total : 20
     * rows : [{"id":"141c87a318a14dee94a742e25b0781c5","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":"http://ic.snssdk.com/neihan/video/playback/1515560983.85/?video_id=7fda4c2d15604d0eaac3df12cc87185f&quality=480p&line=0&is_gif=0&device_platform=android.mp4","largeCover":"http://p3.pstatp.com/large/5651001230142dc728bb.webp","userId":null,"userNickName":"八I级大狂风","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/3645000cf8395cc138c6","mediaType":3,"mediumCover":"http://p3.pstatp.com/w202/5651001230142dc728bb.webp","duration":null,"content":null,"images":[]},{"id":"1fa652a0e45942dfa273f98af43f359f","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":"http://ic.snssdk.com/neihan/video/playback/1515560983.85/?video_id=00390d7132614e16b0b93059e7c32d87&quality=480p&line=0&is_gif=0&device_platform=android.mp4","largeCover":"http://p9.pstatp.com/large/5639000a8770e2b8e784.webp","userId":null,"userNickName":"最美的死神优库里伍德","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/54e700099d8a3456fa57","mediaType":3,"mediumCover":"http://p9.pstatp.com/w202/5639000a8770e2b8e784.webp","duration":null,"content":null,"images":[]},{"id":"3e01eaf6bd614c5e9cfbd1d301c1074e","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":"http://ic.snssdk.com/neihan/video/playback/1515560983.85/?video_id=d4b3e8dbb844422f86a75dbb6b5a8e71&quality=480p&line=0&is_gif=0&device_platform=android.mp4","largeCover":"http://p3.pstatp.com/large/565400080095e4346abd.webp","userId":null,"userNickName":"袁大头华","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/54e9000998af976e665b","mediaType":3,"mediumCover":"http://p3.pstatp.com/w202/565400080095e4346abd.webp","duration":null,"content":null,"images":[]},{"id":"5a7892f0f7e546878ef0af5a35bd7ac6","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":null,"largeCover":null,"userId":null,"userNickName":"A枝茂","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/2c61000ddd2834a5eb59","mediaType":1,"mediumCover":null,"duration":null,"content":null,"images":[{"id":"e6a7099156bf4e9cbb106470ee6e8ba3","thumbUrl":"http://p9.pstatp.com/w480/569c00051d4a83de0d4c.webp","largeUrl":"http://p9.pstatp.com/w500/569c00051d4a83de0d4c.webp","isGif":0,"height":null,"width":null,"mainId":"5a7892f0f7e546878ef0af5a35bd7ac6"}]},{"id":"79286ed468f74299aed09326b346c353","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":null,"largeCover":null,"userId":null,"userNickName":"滕州远离喧嚣还我初心","titleImg":null,"userHeadImg":"http://p1.pstatp.com/medium/43d9000e26c3a8abd1d0","mediaType":2,"mediumCover":null,"duration":null,"content":null,"images":[{"id":"d8af70b209ac4d54b37ac8bc4e65c72e","thumbUrl":"http://p1.pstatp.com/w256/56af000877169411aab3.webp","largeUrl":"http://p1.pstatp.com/large/56af000877169411aab3","isGif":1,"height":null,"width":null,"mainId":"79286ed468f74299aed09326b346c353"}]},{"id":"92eefcaf5d75414589d73c045b4393bd","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":"http://ic.snssdk.com/neihan/video/playback/1515560983.85/?video_id=bd62811bcf3c45799ce928b02c28bf99&quality=480p&line=0&is_gif=0&device_platform=android.mp4","largeCover":"http://p1.pstatp.com/large/5640000bdf115c4cd52d.webp","userId":null,"userNickName":"用户85238863","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/46c100166edf3ac4afe4","mediaType":3,"mediumCover":"http://p1.pstatp.com/w202/5640000bdf115c4cd52d.webp","duration":null,"content":null,"images":[]},{"id":"b4cd573794c6454e90209cc9f667f858","category":"糗事","src":null,"webUrl":null,"time":1515560986000,"title":null,"mp4Url":null,"largeCover":null,"userId":null,"userNickName":"寒风潇人心","titleImg":null,"userHeadImg":"http://p1.pstatp.com/medium/4acf0014b53cd353b578","mediaType":2,"mediumCover":null,"duration":null,"content":null,"images":[{"id":"091113686cd94a25a1b86de6f9a2cab2","thumbUrl":"http://p9.pstatp.com/w304/56b6000b0311cb61c261.webp","largeUrl":"http://p9.pstatp.com/large/56b6000b0311cb61c261","isGif":1,"height":null,"width":null,"mainId":"b4cd573794c6454e90209cc9f667f858"}]},{"id":"0b3eb62486e040e5a6cce15ddbde4aa6","category":"糗事","src":null,"webUrl":null,"time":1515560985000,"title":null,"mp4Url":"http://ic.snssdk.com/neihan/video/playback/1515560983.85/?video_id=f115682a4d51459a9089018905717441&quality=480p&line=0&is_gif=0&device_platform=android.mp4","largeCover":"http://p3.pstatp.com/large/5635000ba2ba7fee78fb.webp","userId":null,"userNickName":"Q3538802853","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/58740000e143063a445d","mediaType":3,"mediumCover":"http://p3.pstatp.com/w202/5635000ba2ba7fee78fb.webp","duration":null,"content":null,"images":[]},{"id":"0e1baa2eb0b54aeeaa82f37f9b0fe63c","category":"糗事","src":null,"webUrl":null,"time":1515560985000,"title":null,"mp4Url":"http://ic.snssdk.com/neihan/video/playback/1515560983.84/?video_id=037ff0378d574f478e3f345200630983&quality=480p&line=0&is_gif=0&device_platform=android.mp4","largeCover":"http://p3.pstatp.com/large/56510008435126bd2b17.webp","userId":null,"userNickName":"半个灵魂留着空隙喘息6144072","titleImg":null,"userHeadImg":"http://p3.pstatp.com/medium/3644000fa1a21ed64987","mediaType":3,"mediumCover":"http://p3.pstatp.com/w202/56510008435126bd2b17.webp","duration":null,"content":null,"images":[]},{"id":"26d147a98bb243d0a4e9247bf10a61b2","category":"糗事","src":null,"webUrl":null,"time":1515560985000,"title":null,"mp4Url":null,"largeCover":null,"userId":null,"userNickName":"李士郎","titleImg":null,"userHeadImg":"http://p1.pstatp.com/medium/54ed000029b1bd1c79a2","mediaType":2,"mediumCover":null,"duration":null,"content":null,"images":[{"id":"8185930652c94dfc8ec3a1ffc1d452e7","thumbUrl":"http://p9.pstatp.com/w252/56c0000f58e23ec69b74.webp","largeUrl":"http://p9.pstatp.com/large/56c0000f58e23ec69b74","isGif":1,"height":null,"width":null,"mainId":"26d147a98bb243d0a4e9247bf10a61b2"}]}]
     */

    private int total;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean implements Serializable{
        /**
         * id : 141c87a318a14dee94a742e25b0781c5
         * category : 糗事
         * src : null
         * webUrl : null
         * time : 1515560986000
         * title : null
         * mp4Url : http://ic.snssdk.com/neihan/video/playback/1515560983.85/?video_id=7fda4c2d15604d0eaac3df12cc87185f&quality=480p&line=0&is_gif=0&device_platform=android.mp4
         * largeCover : http://p3.pstatp.com/large/5651001230142dc728bb.webp
         * userId : null
         * userNickName : 八I级大狂风
         * titleImg : null
         * userHeadImg : http://p3.pstatp.com/medium/3645000cf8395cc138c6
         * mediaType : 3
         * mediumCover : http://p3.pstatp.com/w202/5651001230142dc728bb.webp
         * duration : null
         * content : null
         * images : []
         */

        private String id;
        private String category;
        private String src;
        private String webUrl;
        private long time;
        private String title;
        private String mp4Url;
        private String largeCover;
        private String userId;
        private String userNickName;
        private String titleImg;
        private String userHeadImg;
        private int mediaType;
        private String mediumCover;
        private String duration;
        private String content;
        private List<ImageInfo> images;
        private int likeCount;
        private int commentCount;
        private int status;
         private int isCurrentUserLike;


        public int getLikeCount() {
            return likeCount;
        }

        public void setLikeCount(int likeCount) {
            this.likeCount = likeCount;
        }

        public int getIsCurrentUserLike() {
            return isCurrentUserLike;
        }

        public void setIsCurrentUserLike(int isCurrentUserLike) {
            this.isCurrentUserLike = isCurrentUserLike;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }



        public int getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getSrc() {
            return src;
        }

        public void setSrc(String src) {
            this.src = src;
        }

        public String getWebUrl() {
            return webUrl;
        }

        public void setWebUrl(String webUrl) {
            this.webUrl = webUrl;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getMp4Url() {
            return mp4Url;
        }

        public void setMp4Url(String mp4Url) {
            this.mp4Url = mp4Url;
        }

        public String getLargeCover() {
            return largeCover;
        }

        public void setLargeCover(String largeCover) {
            this.largeCover = largeCover;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserNickName() {
            return userNickName;
        }

        public void setUserNickName(String userNickName) {
            this.userNickName = userNickName;
        }

        public String getTitleImg() {
            return titleImg;
        }

        public void setTitleImg(String titleImg) {
            this.titleImg = titleImg;
        }

        public String getUserHeadImg() {
            return userHeadImg;
        }

        public void setUserHeadImg(String userHeadImg) {
            this.userHeadImg = userHeadImg;
        }

        public int getMediaType() {
            return mediaType;
        }

        public void setMediaType(int mediaType) {
            this.mediaType = mediaType;
        }

        public String getMediumCover() {
            return mediumCover;
        }

        public void setMediumCover(String mediumCover) {
            this.mediumCover = mediumCover;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public List<ImageInfo> getImages() {
            return images;
        }

        public void setImages(List<ImageInfo> images) {
            this.images = images;
        }
        public static class ImageInfo {

            /**
             * id : d8af70b209ac4d54b37ac8bc4e65c72e
             * thumbUrl : http://p1.pstatp.com/w256/56af000877169411aab3.webp
             * largeUrl : http://p1.pstatp.com/large/56af000877169411aab3
             * isGif : 1
             * height : null
             * width : null
             * mainId : 79286ed468f74299aed09326b346c353
             */
            private String id;
            private String thumbUrl;
            private String largeUrl;
            private int isGif;
            private String height;
            private String width;
            private String mainId;
            public String getId() {
                return id;
            }
            public void setId(String id) {
                this.id = id;
            }
            public String getThumbUrl() {
                return thumbUrl;
            }
            public void setThumbUrl(String thumbUrl) {
                this.thumbUrl = thumbUrl;
            }
            public String getLargeUrl() {
                return largeUrl;
            }
            public void setLargeUrl(String largeUrl) {
                this.largeUrl = largeUrl;
            }
            public int getIsGif() {
                return isGif;
            }
            public void setIsGif(int isGif) {
                this.isGif = isGif;
            }
            public String getHeight() {
                return height;
            }
            public void setHeight(String height) {
                this.height = height;
            }
            public String getWidth() {
                return width;
            }
            public void setWidth(String width) {
                this.width = width;
            }
            public String getMainId() {
                return mainId;
            }
            public void setMainId(String mainId) {
                this.mainId = mainId;
            }
        }
    }
}
